package com.liyou.process.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liyou.model.process.Process;
import com.liyou.vo.process.ApprovalVo;
import com.liyou.vo.process.ProcessFormVo;
import com.liyou.vo.process.ProcessQueryVo;
import com.liyou.vo.process.ProcessVo;

import java.util.Map;

/**
* @author asus
* @description 针对表【oa_process(审批类型)】的数据库操作Service
* @createDate 2023-06-09 19:20:22
*/
public interface OaProcessService extends IService<Process> {

    IPage<ProcessVo> selectPage(Page<ProcessVo> pageParam, ProcessQueryVo processQueryVo);

    void deployByZip(String deployPath);

    void startUp(ProcessFormVo processFormVo);

    Page<ProcessVo> findfindPending(Page<Process> pageParam);

    Map<String, Object> show(Long id);

    void approve(ApprovalVo approvalVo);

    IPage<ProcessVo> findProcessed(Page<Process> pageParam);

    IPage<ProcessVo> findStarted(Page<ProcessVo> pageParam);
}
